# -*- mode: snippet -*-
# name: odoo_view
# key: odoo_view
# --
<record id="${1:xml_id}" model="ir.ui.view">
    <field name="name">${1:$(replace-regexp-in-string "_"  " " yas/text)}</field>
    <field name="model">${3:model}</field>
    <field name="arch" type="xml">
        <${5:form} version="${6:version}" string="${7:Name}"> <!-- editable="bottom" -->
        $0
        </$5>
    </field>
</record>
